.container {
  height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.searchContainer {
  background-color: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.searchBar {
  border-radius: 20px;
  background-color: #f5f5f5;
}

.content {
  flex: 1;
  overflow: hidden;
}

.tabs {
  height: 100%;
}

.newsList {
  padding: 16px;
  height: calc(100vh - 140px);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.newsCard {
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.newsCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.newsCard:active {
  transform: translateY(0);
}

.newsContent {
  display: flex;
  padding: 16px;
  gap: 16px;
}

.newsImage {
  flex-shrink: 0;
}

.newsIcon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.newsInfo {
  flex: 1;
  min-width: 0;
}

.newsHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.newsTitle {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.hotTag {
  background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 500;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.categoryTag {
  flex-shrink: 0;
  font-size: 12px;
  border-radius: 12px;
  padding: 2px 8px;
}

.newsSummary {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newsFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.newsDate {
  display: flex;
  align-items: center;
}

.newsDate::before {
  content: '📅';
  margin-right: 4px;
}

.newsViews {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 自定义滚动条样式 */
.newsList::-webkit-scrollbar {
  width: 6px;
}

.newsList::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.newsList::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.newsList::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .newsList {
    padding: 12px;
    height: calc(100vh - 130px);
  }
  
  .newsContent {
    padding: 12px;
    gap: 12px;
  }
  
  .newsIcon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .newsTitle {
    font-size: 15px;
  }
  
  .newsSummary {
    font-size: 13px;
  }
  
  .newsFooter {
    font-size: 11px;
  }
  
  .categoryTag {
    font-size: 11px;
    padding: 1px 6px;
  }
  
  .hotTag {
    font-size: 9px;
    padding: 1px 4px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsCard {
  animation: fadeInUp 0.6s ease-out;
}

.newsCard:nth-child(2) {
  animation-delay: 0.1s;
}

.newsCard:nth-child(3) {
  animation-delay: 0.2s;
}

.newsCard:nth-child(4) {
  animation-delay: 0.3s;
}

.newsCard:nth-child(5) {
  animation-delay: 0.4s;
}

/* Tab样式优化 */
:global(.adm-tabs-header) {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

:global(.adm-tabs-tab) {
  font-weight: 500;
}

:global(.adm-tabs-tab-active) {
  color: #1890ff;
  font-weight: 600;
}

:global(.adm-tabs-ink-bar) {
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  height: 3px;
  border-radius: 2px;
}

/* 搜索框样式优化 */
:global(.adm-search-bar) {
  background-color: #f5f5f5;
  border-radius: 20px;
}

:global(.adm-search-bar-input) {
  background-color: transparent;
}

:global(.adm-search-bar-input-box) {
  background-color: transparent;
}